package com.goodfox.web.generic.attribute.entity;

import java.io.Serializable;

import com.goodfox.web.generic.provide.annotation.DbEntity;
import com.goodfox.web.generic.provide.annotation.DbField;

@DbEntity(comment="属性内容",table="DSYS_ATTRIBUTE")
public class Attribute implements Serializable {

	@DbField(comment="实例化UID",meaning=false)
	private static final long serialVersionUID = -1458450514058003346L;
	
	@DbField(comment="属性ID",column="ATR_ID",pk=true,export=false,javaType="String",dataType="VARCHAR2",required=true,maxLength=10)
	private String atrId;

	@DbField(comment="属性类型名",column="ATR_TNAME",javaType="String",dataType="VARCHAR2",maxLength=30)
	private String atrTName;

	@DbField(comment="属性类型值",column="ATR_TVALUE",export=false,javaType="String",dataType="VARCHAR2",maxLength=2)
	private String atrTValue;

	@DbField(comment="使用方式",column="ATR_USE",export=false,javaType="String",dataType="VARCHAR2",maxLength=2)
	private String atrUse;

	@DbField(comment="属性名",column="ATR_NAME",javaType="String",dataType="VARCHAR2",maxLength=30)
	private String atrName;

	@DbField(comment="属性值",column="ATR_VALUE",export=false,javaType="String",dataType="VARCHAR2",maxLength=2)
	private String atrValue;

	@DbField(comment="属性编码",column="ATR_CODE",export=false,javaType="String",dataType="VARCHAR2",maxLength=50)
	private String atrCode;

	@DbField(comment="属性显示排序",column="ATR_SORT",javaType="Long",dataType="NUMBER",maxLength=3)
	private Long atrSort;

	@DbField(comment="属性描述",column="ATR_DESC",javaType="String",dataType="VARCHAR2",maxLength=100)
	private String atrDesc;

	@DbField(comment="是否选中",direct=false,export=false)
	private Boolean checked;

	public String getAtrId() {
		return atrId;
	}

	public void setAtrId(String atrId) {
		this.atrId = atrId;
	}

	public String getAtrTName() {
		return atrTName;
	}

	public void setAtrTName(String atrTName) {
		this.atrTName = atrTName;
	}

	public String getAtrTValue() {
		return atrTValue;
	}

	public void setAtrTValue(String atrTValue) {
		this.atrTValue = atrTValue;
	}

	public String getAtrUse() {
		return atrUse;
	}

	public void setAtrUse(String atrUse) {
		this.atrUse = atrUse;
	}

	public String getAtrName() {
		return atrName;
	}

	public void setAtrName(String atrName) {
		this.atrName = atrName;
	}

	public String getAtrValue() {
		return atrValue;
	}

	public void setAtrValue(String atrValue) {
		this.atrValue = atrValue;
	}

	public String getAtrCode() {
		return atrCode;
	}

	public void setAtrCode(String atrCode) {
		this.atrCode = atrCode;
	}

	public Long getAtrSort() {
		return atrSort;
	}

	public void setAtrSort(Long atrSort) {
		this.atrSort = atrSort;
	}

	public String getAtrDesc() {
		return atrDesc;
	}

	public void setAtrDesc(String atrDesc) {
		this.atrDesc = atrDesc;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

}
